SDEF
// -----------------------------------------------------------------------------
//  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Animals/bat.def       $
// $Revision:: 13                                                             $
//   $Author:: Markd                                                          $
//     $Date:: 10/25/98 7:08p                                                 $
//
// Copyright (C) 1998 by Ritual Entertainment, Inc.
// All rights reserved.
//
// This source may not be distributed and/or modified without
// expressly written permission by Ritual Entertainment, Inc.
//
// This is a model definition file.  It is to be used in conjunction with Sin.
//
// -----------------------------------------------------------------------------
// MODEL DESCRIPTION:
// Bat creature, spawns out of Bachrodai.
//
// MODEL AUTHOR:
// Michael
//
/*SINED Animals_Bat (1 .5 0) (0 0 0) (0 0 0)
Bat
*/

// -----------------------------------------------------------------------------
// FILE DECLARATIONS
//
// Model Commands
path models/bat
origin 0 0 -300
scale .06

// Base Model
bat.sbm

// Skins
normal	   bat.tga
// Do we need a damage skin for these?

// Normal Animations
idle           fly.sam
pain           fly.sam
death          fly.sam
melee          fly.sam
fly            fly.sam
death		death.sam

// Pain Location Based Animations

// Death Location Based Animations

// Optional Animations

// Scripted Animations

// Id And Group Definitions

// -----------------------------------------------------------------------------
// INITIALIZATION SECTION
//
!init:
//
// SERVER Initialization Commands
//
// Class Setup
server classname Bat
server script global/bat.scr
server setsize "-16 -16 -18" "16 16 18"
server health 15
server meleerange 70
server meleedamage 7
server forwardspeed 130
server noshadow
server usebbox

client aliascache snd_idle       "monsters/bat/batidle1.wav" 1
client aliascache snd_pain       "monsters/bat/batpain2.wav" 1
client aliascache snd_death      "monsters/bat/batdeth1.wav" 1
client aliascache snd_fly        "monsters/bat/batfly3.wav" 1
client aliascache snd_attack     "monsters/bat/batattk.wav" 1

// Sound Aliases

//
// CLIENT Initialization Commands
//
// Sound Aliases

// -----------------------------------------------------------------------------
// MAIN SECTION
//
!main:
//client fly first randomsound snd_fly 1 4
server fly first randomambientsound snd_fly
//server fly first movementsound

client pain first randomsound snd_pain 1 2
server pain first painsound

client death first randomsound snd_death 1 2
server death first stopambientsound
server death first deathsound

client melee first randomsound snd_attack
server melee 1 melee

// Special Commands

// Normal Animations

// Pain Location Based Animations

// Death Location Based Animations

// Optional Animations

// -----------------------------------------------------------------------------
// SOURCESAFE Update Log
//
// $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Animals/bat.def            $
// 
// 13    10/25/98 7:08p Markd
// Fixed bat behaviors
//
// 12    10/23/98 10:11p Beau
//
// 11    10/20/98 4:11a Markd
//
// 10    9/20/98 8:17p Zak
// added sound aliases and fly anim sounds
//
// 9     9/20/98 7:24p Joeske
// Reformatted the files.
//
//
// -----------------------------------------------------------------------------
